package com.bt.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description TODO
 * @Author XJL
 * @Date 2023-05-04 17:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserEditArticleDTO {
    @ApiModelProperty(value = "文章id")
    private Integer id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "作者的用户名， 用户发布的user-名称")
    private String author;

    @ApiModelProperty(value = "文章内容")
    private String content;

    @ApiModelProperty(value = "缩略图，可多张逗号分隔")
    private String pic;

    @ApiModelProperty(value = "分类ID")
    private Integer cateid;

    @ApiModelProperty(value = "文章的标签，可多个逗号分隔")
    private String tags;

    @ApiModelProperty(value = "文章状态，1草稿箱，2已发布")
    private Integer status;

}
